Git & GitHub Tutorial For Beginners In Hindi - हिंदी में (2021)

793,436 views793K views
20 Mar 2019
2.34M subscribers
Subscribe
►TimeStamps: 00:00 – Introduction 00:36 – What is Git ? 01:19 – Downloading Git 03:24 – Installing Git 06:11 – Configuring Name & Email in Git 08:28 – init command 09:55 – Untracked & Staged File 21:20 – git checkout command 23:45 – git log command 25:47 – git diff command 31:08 – Removing file (rm command) 37:38 – git ignore command 46:00 – Branches 58:10 – GitHub 01:02:07 – Remote Repository 01:07:18 – git push command 01:11:37 – git clone 01:14:01 – Cheat sheet 01:14:32 – Courses Detail ►Click here to subscribe - https://www.youtube.com/channel/UCeVM... Best Hindi Videos For Learning Programming: ►Learn Python In One Video - https://www.youtube.com/watch?v=qHJjM... ►Learn JavaScript in One Video - https://www.youtube.com/watch?v=onbBV... ►Learn PHP In One Video - https://www.youtube.com/watch?v=xW7ro... ►Machine Learning Using Python - https://www.youtube.com/playlist?list... ►Creating & Hosting A Website (Tech Blog) Using Python - https://www.youtube.com/playlist?list... ►Advanced Python Tutorials - https://www.youtube.com/playlist?list... ►Object Oriented Programming In Python - https://www.youtube.com/playlist?list... ►Python Data Science and Big Data Tutorials - https://www.youtube.com/playlist?list... Follow Me On Social Media ►Website (created using Flask) - https://www.codewithharry.com ►Facebook - https://www.facebook.com/CodeWithHarry ►Instagram - https://www.instagram.com/CodeWithHarry/ ►Personal Facebook A/c - https://www.facebook.com/geekyharis Twitter - https://twitter.com/Haris_Is_Here
Show less
******************** NEW FREE GIT COURSE ALERT!! ******************** Hi everyone, I am proud to announce a complete course on Git which covers more than this introductory video. I created a new course on Git/GitHub based on your feedback. Access the free course here: https://www.youtube.com/playlist?list=PLu0W_9lII9agwhy658ZPA0MTStKUJTWPi Make sure to tell me how it goes in the comments. Happy coding! 😃😀
430
Cmd 1 : git checkout filename ( files changes revert to last commit ) For all files : git checkout -f Cmd 2: git log (what commits you have written) For seeing specific no. of commit info : git log -p -no.ofcommits Cmd 3: git diff (compares working tree with staging area) Cmd 4: git diff --staged (compares staging area with last commit) Cmd 5: git commit -a -m “msg” (skip staging area and direct commit the changes) Cmd 6: git rm –cached filename ( remove file from git tracking tree) Cmd 7: git rm filename (remove file from hard disk) Cmd 8: git status -s (tells small status for working tree) Cmd 9 : git branch branchName ( create branch) Cmd 10: git branch (shows total branches and currently we are where) Cmd 11: git checkout branchName ( switched to this branch) Cmd 12: git checkout master (switched to master branch) Cmd 13: git merge branchName ( when you are in master branch then you can use it to merge your branch with master) Cmd 14: git checkout -b branchName ( branch is created and switched to this branch)
28
Was expecting the cheat sheet. Got disappointed when I realized that it was a lie. Apart from that, the explanation was amazing! Loved the way you taught it!
89
Bro , you explained like one friend who explains all the concepts a day before exams which are not understood whole semester....thanks for explaining in native language. GOD BLESS YOU. Keep going....
6
Such an important topic explained in a simple manner. Great teaching skills. Thank you for this wonderful video ❤️
19
This is Awesome one!! Kindly help with GIT ADVANCED one as well. Request to cover below as one of topic in GIT Advance Video: - Resolve Merge Conflicts. - How to add review process for pull request from feature to master branch, once review-approval done, then only it should merge to master. Appreciate your efforts on this. Thanks a ton!!
4
Thank you so much Harry for this short and well explained tutorial, you covered all the main points and explained them very well....helped me a lot, thanks again ❤️
28
Hi Harry, no one can explain better than you. excellent content. Is there anything like unstaged?
3
Never seen before this kind of teaching...keep it up 😎 This will help lot of fellows who are struggling to understand the Git and GitHub. Finally thanks a lot for this video..👍
1
Amazing content brother! Really loved it. Can you please create content on how to use these tools in collaboration : visual studio, Azure DevOps, Git/Github, Azure pipelines. How these tools can be used in combined to work smart. ? Thank you !
5
It was very interesting to learn about git with you. Definitely a very good explanation, no doubt. Almost tried to learn and apply every thing. Really ENJOYED it.
3
At present 'master' is not the main branch, it is known as 'main', so it could be mentioned
14
Bro, this video is very helpful. I have a question for you. Question: Suppose we have at point A (say master branch), then we create 2 sub-branches (say sub-branch B and C) if Brach A Got ahead and B and C brach want to take a pull from A , then how it will be done? In short, is it possible to take a pull from other branches? What is the difference between origin and branches ???
1
Thanks bro appreciated. Previously I have done 2 courses of Git from Udemy but I think this one is the best. Please provide full courses of Devops (Kubernetes, jenkins, docker, puppet etc.)
4
This was really interesting video , the way of teaching is also very nice. You earned a subscription. However we didn't get any cheat sheet in description or pinned comment.
2
Thank you so much sir ! Sir , there is some YouTubers like you ! You are our Real Teacher ! Pls share Cheats :) it's really great I am telling , I am feeling SO MUCH INTERESTING IN PROGRAMMING , your voice is MOTIVATING too
8
bro, please give us a cheat sheet of Git and GITHUB as you promised in this video, please and thank you so much for making our life easier in computer science lots of love from Pakistan
What an amazing explanation Harry Sir... Keep it up & give more & more knowledge to us..
2
You're just great Sir✨ Thank you so much for all the knowledge that you provide...🙏
Great. In a pre screen interview ,"what level of Git knowledge you have "? Can I answer "Advanced" or "Intermediate" after watching this video and I feel comfortable with most of command used in this video?
5